#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include "island.h"

#define NUM_ANIMALS 80
int main()
{

    srand(time(NULL));
    Island island(6,7,NUM_ANIMALS);
    char ch;
    do
    {
        ch = getchar();
        for(int i = 0; i < NUM_ANIMALS; i++)
            island.Animals[i].StepToNextSquare();
        island.PrintState();
    }
    while(ch != 0x20);
    return 0;
}
